function rename(arg)
	return os.rename(arg.old,arg.new)
end

local result = rename{old = "testold",new = "testnew"}
print(result)
function fwrite(fmt,...)
	return io.write(string.format(fmt,unpack(arg)))
end

print(fwrite("result","c","d"))
print(result)
